class AnalyseInfo:
    def __init__(self, user_id, zombie, fans_score, 
                 content_score, personal_score, normal_behaviour_score, 
                 reason, platform_name, model_name, tag_name, home_url, **invalid_params):
        self.user_id = user_id
        self.zombie = 0 if zombie == False or zombie == '0' else 1
        self.fans_score = fans_score
        self.content_score = content_score
        self.personal_score = personal_score
        self.normal_behaviour_score = normal_behaviour_score
        self.reason = reason
        self.platform_name = platform_name
        self.model_name = model_name
        self.tag_name = tag_name
        self.home_url = home_url
    
    def json(self):
        return {
            'user_id': self.user_id,
            'zombie': self.zombie,
            'fans_score': self.fans_score,
            'content_score': self.content_score,
            'personal_score': self.personal_score,
            'normal_behaviour_score': self.normal_behaviour_score,
            'reason': self.reason,
            'platform_name': self.platform_name,
            'model_name': self.model_name,
            'tag_name': self.tag_name,
            'home_url': self.home_url
        }
        